Skip to content

Fix Oboe muting and optimize performance for S23 Ultra - #127

Merged
winnerspiros merged 1 commit into
masterfrom
fix/oboe-mute-and-optimize-12222287418414949344
Mar 31, 2026
Merged

Fix Oboe muting and optimize performance for S23 Ultra#127
winnerspiros merged 1 commit into
masterfrom
fix/oboe-mute-and-optimize-12222287418414949344

Conversation

@google-labs-jules

Copy link
Copy Markdown

This PR fixes a critical muting issue when "Low latency audio (Oboe)" is enabled on Android. The root cause was a fragile reflection-based handle retrieval in OboeAudioRedirector.cs that failed if framework internal field names changed.

The fix implements a multi-strategy search across the inheritance chain for common BASS handle names. Additionally, the PR introduces several performance optimizations specifically for high-end devices like the S23 Ultra:

  • Disables BASS-internal buffering on the master mixer for direct rendering.
  • Refines CPU affinity masks to target the Prime and Gold cores on modern Snapdragon chipsets.
  • Ensures mandatory Oboe usage when requested by removing silent fallbacks.

PR created automatically by Jules for task 12222287418414949344 started by @winnerspiros

- Fixed muting issue by implementing robust reflection search for BASS mixer handles in `OboeAudioRedirector.cs`.
- Ensured Oboe is always used when enabled by removing the fallback safeguard.
- Optimized latency by disabling BASS-internal buffering on the master mixer.
- Refined CPU affinity in `oboe_bridge.cpp` to target high-performance cores (3-7) on Snapdragon 8 Gen 2/3 devices.
- Kept 2x burst start with LatencyTuner for stability as requested.
@google-labs-jules

Copy link
Copy Markdown
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@winnerspiros
winnerspiros merged commit 1deb746 into master Mar 31, 2026
5 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant